package com.yonyou.pmclouds.completedcatalog.entity;

import com.yonyou.pmclouds.basecom.entity.SuperVO;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.validation.constraints.Size;
import java.util.Date;
@Data
@Table(name = "pmdm_completed_catalog")
public class CompletedCatalogVO extends SuperVO{
    public static final String CATALOG_TYPE = "catalogType";
    // 制单人姓名
    public static String CREATOR_NAME = "creatorName";
    // 制单人
    public static String CREATOR = "creator";
    @Id
    private String pkCompletedCatalog;
    @Size(min = 1, max = 50)
    private String sname;
    @Size(min = 1, max = 50)
    private String catalogType;

    private String pkTenant;

    private String creator;

    private Date creationtime;

    private String modifier;

    private Date modifytime;
    @Transient
    private CompletedCatalogBVO[] completedCatalogBVOS;
    // 制单人
    @Transient
    private String creatorName;
}